package com.example.supplychainbackend.dao.production;

import com.example.supplychainbackend.entity.production.ProductionCertEntity;
import com.example.supplychainbackend.entity.production.ProductionSchedulingEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProductionSchedulingDao extends JpaRepository<ProductionSchedulingEntity,Long> {
    List<ProductionSchedulingEntity> findByWorkOrderNo(String workOrderNo);
    ProductionSchedulingEntity findByBatchNumber(String batchNumber);
    List<ProductionSchedulingEntity> findAllByEnterpriseId(String enterpriseId);
}
